<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>延迟</title>
</head>
<body>

    <p>heading before loads</p>
    <script defer src="src/test.js"></script>
    <p>heading after loads</p>
</body>
</html>